imquartz: Fallback to slave IM context if no NSEvent exists.
authorTakuro Ashie <ashie@clear-code.com>
Sat, 27 Jul 2013 01:34:39 +0000 (10:34 +0900)
committerJohn Ralls <jralls@ceridwen.us>
Sat, 27 Jul 2013 21:26:22 +0000 (14:26 -0700)
commit20d0434b8cb3908ec05cef4d80b3c499ec449f52
treeaadf63849ba29ed12e92af245577e12240d0317a
parentb80625a42531d4ea6313c4fe40e693a04f05193e
imquartz: Fallback to slave IM context if no NSEvent exists.

When an application translates a key event and drop its native event
before passing to imquartz, it can't recognize the NSEvent. On this
case imquartz doesn't emit any signals such as "commit" signal so
that the application doesn't insert any text. To avoid no response,
at least imquartz should fallback to slave GtkIMContextSimple.

https://bugzilla.gnome.org/show_bug.cgi?id=694273#c27
(cherry picked from commit c064e188943ad6bd79d8476a0f53e27bfddb4a1f)
modules/input/imquartz.c